package org.jeecg.modules.nurse_user.service;

import org.jeecg.modules.nurse_user.entity.NurseUserSpecial;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 用户优惠劵
 * @Author: jeecg-boot
 * @Date: 2024-06-09
 * @Version: V1.0
 */
public interface INurseUserSpecialService extends IService<NurseUserSpecial> {

    /**
     * 通过主表id查询子表数据
     *
     * @param mainId
     * @return List<NurseUserSpecial>
     */
    public List<NurseUserSpecial> selectByMainId(String mainId);

    List<NurseUserSpecial> queryByNotExpire(String userId);
}
